]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
5 years agoworkspacesView: Fix off-by-one error
Florian Müllner [Fri, 8 Jan 2021 01:14:42 +0000 (02:14 +0100)]
workspacesView: Fix off-by-one error

The scroll adjustment's upper value corresponds to the number of
workspaces, not to the last workspace index. We want the latter
when mirroring the layout in RTL locales, so subtract 1.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1598>

5 years agoci: Fix typo
Robert Mader [Tue, 26 Jan 2021 20:37:43 +0000 (21:37 +0100)]
ci: Fix typo

This made us fall back to a normal debug build, not catching certain
warnings.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1597>

5 years agoblur-effect: Silence compiler warning
Robert Mader [Tue, 26 Jan 2021 20:25:47 +0000 (21:25 +0100)]
blur-effect: Silence compiler warning

Building with `debugoptimized` throws:
`'paint_opacity' may be used uninitialized in this function`

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1596>

5 years agoextensionSystem: Fix opening Extensions app from notification
Florian Müllner [Tue, 26 Jan 2021 16:12:04 +0000 (17:12 +0100)]
extensionSystem: Fix opening Extensions app from notification

Launching the app is implemented by the source's open() method, but
only external notifications are hooked up to call into the source
when no default action was provided.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1595>

5 years agopanel: Remove drop down arrows from standalone indicators
Doan Nam Long Vu [Sun, 24 Jan 2021 20:39:43 +0000 (21:39 +0100)]
panel: Remove drop down arrows from standalone indicators

The keyboard/language selector area is the smallest element
on the panel. Additional margin about 6px inside the a11y
and language items to make them comfortable to click targets.

With that, we can remove the remaining arrows.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3567

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1583>

5 years agopanel: Remove drop down arrows from AppMenu and AggregateMenu
Doan Nam Long Vu [Fri, 22 Jan 2021 08:59:46 +0000 (09:59 +0100)]
panel: Remove drop down arrows from AppMenu and AggregateMenu

Following #3567, the design team decided to remove the drop down arrows
from both AppMenu and AggregateMenu.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3567

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1583>

5 years agoappDisplay: Handle dropped app favorites
Florian Müllner [Tue, 26 Jan 2021 10:33:54 +0000 (11:33 +0100)]
appDisplay: Handle dropped app favorites

Now that apps either appear in the dash or the app grid, it makes
sense to allow DND between the two components to add and remove
favorites.

Currently this only works for adding items to the dash, update the
app grid code to also accept drops from the dash.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1594>

5 years agodash: Replace custom actor with layout manager
Florian Müllner [Tue, 19 Jan 2021 16:34:19 +0000 (17:34 +0100)]
dash: Replace custom actor with layout manager

We use a custom actor to make sure that the show-apps button remains
visible even when there's not enough space to show all icons.

We can achieve the same result with much less code, by using a custom
BoxLayout layout manager for the icons to override the minimum width.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1592>

5 years agodbusServices/screencast: Use GTK4
Florian Müllner [Wed, 20 Jan 2021 01:48:24 +0000 (02:48 +0100)]
dbusServices/screencast: Use GTK4

The separate screencast service has some minimal GTK usage, which
we can trivially move to GTK4.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1591>

5 years agoappDisplay/appFolderDialog: Don't constrain to workarea
Georges Basile Stavracas Neto [Mon, 25 Jan 2021 16:08:56 +0000 (13:08 -0300)]
appDisplay/appFolderDialog: Don't constrain to workarea

With the transparent top bar in the overview, constraining to the
primary monitor's workarea causes the (now visible) area beneath
the top bar to not have the darker background, which causes a visual
discontinuity in the layout.

Don't constrain to the primary monitor workarea.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1590>

5 years agoshell/util: Don't compile in unused code when !HAVE_SYSTEMD
Daniel van Vugt [Mon, 25 Jan 2021 09:01:29 +0000 (17:01 +0800)]
shell/util: Don't compile in unused code when !HAVE_SYSTEMD

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3620
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1588>

5 years agoworkspacesView: Center workspaces of primary display
Georges Basile Stavracas Neto [Fri, 11 Dec 2020 18:57:49 +0000 (15:57 -0300)]
workspacesView: Center workspaces of primary display

Currently workspaces are left-aligned to the allocation, which looks
odd after moving the Dash to the bottom.

Allocate workspaces centered both horizontally and vertically.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1587>

5 years agoappDisplay: Animate opening app icons menu
Razze [Sat, 23 Jan 2021 19:44:11 +0000 (20:44 +0100)]
appDisplay: Animate opening app icons menu

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2335

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1585>

5 years agoUpdate Persian translation
Danial Behzadi [Fri, 22 Jan 2021 14:36:51 +0000 (14:36 +0000)]
Update Persian translation

5 years agoappDisplay: Fix app folder icon subicon spacing
Sebastian Keller [Wed, 20 Jan 2021 01:03:49 +0000 (02:03 +0100)]
appDisplay: Fix app folder icon subicon spacing

The code previously was using CSS to define row/column spacing and
padding which was combined with a subicon size computed in code relative
to the requested icon size.

In smaller icon sizes it was possible for the CSS spacing+padding + the
size of the two subicons to exceed the requested icon size. This then
would lead to the label being pushed down for app folders compared to
other icons.

Another more severe issue caused by this would happen if the first item
in an icon grid was an app folder. Then the calculation for the maximum
allowed icon size could be off, leading to all icons in the grid
becoming smaller than actually necessary.

This commit changes this to use homogeneous row and column layouts to
evenly distribute the remaining spacing instead of using a fixed CSS
value.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3069

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1581>

5 years agoappDisplay: Do not duplicate app favorites
Florian Müllner [Wed, 20 Jan 2021 00:44:21 +0000 (01:44 +0100)]
appDisplay: Do not duplicate app favorites

With the new position, the dash is now stronger connected to the
app grid than it used to; reflect that by showing apps either
in the grid or the dash, not both (except for non-favorite
running apps).

https://gitlab.gnome.org/Teams/Design/os-mockups/-/issues/88

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1580>

5 years agoworkspacesView: Disable swipe tracker when animating from overview
Sebastian Keller [Wed, 13 Jan 2021 22:24:49 +0000 (23:24 +0100)]
workspacesView: Disable swipe tracker when animating from overview

It was possible to switch workspaces by quickly dragging the workspace
immediately after clicking on a window during the transition from the
overview. This is unlikely something that is intentionally used but can
be confusing and look bad when triggered accidentally.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2993

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1578>

5 years agooverviewControls: Make sure dash is positioned at the bottom
Florian Müllner [Tue, 19 Jan 2021 17:20:58 +0000 (18:20 +0100)]
overviewControls: Make sure dash is positioned at the bottom

We don't want the dash to expand, but if it's given more space
than requested, we want it to be positioned at the bottom.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1577>

5 years agoautomountManager: Remove unused volume queue
Sebastian Keller [Tue, 19 Jan 2021 20:12:49 +0000 (21:12 +0100)]
automountManager: Remove unused volume queue

This is some leftover from code that was used to keep track of volumes
added/removed while the screen was locked before the move to a
components system in 2a800e4c. All that the remaining code does is
filter devices from an empty list.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1579>

5 years agoUpdate Hungarian translation
Balázs Úr [Tue, 19 Jan 2021 20:40:42 +0000 (20:40 +0000)]
Update Hungarian translation

5 years agooverviewControls: Simplify dash placement
Florian Müllner [Mon, 18 Jan 2021 23:57:30 +0000 (00:57 +0100)]
overviewControls: Simplify dash placement

Now that the dash is always visible, it doesn't make sense to keep
it in a separate layer from the main overview group and use a
separate spacer actor as a placeholder.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1575>

5 years agotheme: Theme dash closer to mockup
Jakub Steiner [Tue, 5 Jan 2021 12:57:25 +0000 (13:57 +0100)]
theme: Theme dash closer to mockup

- use a light, nostroke dash
- boost border radius globally

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1559>

5 years agodash/dashIcon: Popup menu above the icon
Georges Basile Stavracas Neto [Thu, 7 Jan 2021 13:05:18 +0000 (10:05 -0300)]
dash/dashIcon: Popup menu above the icon

Now that the Dash is horizontal, the popup menu of the Dash icons must
show up, instead of left/right.

Make AppIcon.popupMenu() receive an optional parameter with the side
to show the menu, using St.Side.LEFT as default. Override this method
in DashIcon to always pass St.Side.TOP.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1559>

5 years agodash: Fix 'All apps' button position in RTL locales
Abderrahim Kitouni [Sat, 16 Jan 2021 17:45:07 +0000 (18:45 +0100)]
dash: Fix 'All apps' button position in RTL locales

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1559>

5 years agoMake Dash horizontal
Georges Basile Stavracas Neto [Fri, 11 Dec 2020 12:47:28 +0000 (09:47 -0300)]
Make Dash horizontal

And move it to the bottom of the overview. Change the height-based calculation
of the icon sizes to be width-based. Put the DashFader in a vertical box, and
make all corners of the Dash equally rounded.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1559>

5 years agooverviewControls: Split FaderControl from SlidingControl
Georges Basile Stavracas Neto [Fri, 11 Dec 2020 12:44:53 +0000 (09:44 -0300)]
overviewControls: Split FaderControl from SlidingControl

The Dash will need only the fading aspect of SlidingControl in the
next commit.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1559>

5 years agooverviewControls: Show DashSpacer in apps page as well
Georges Basile Stavracas Neto [Thu, 10 Dec 2020 20:35:09 +0000 (17:35 -0300)]
overviewControls: Show DashSpacer in apps page as well

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1559>

5 years agoPost-release version bump (again)
Florian Müllner [Mon, 18 Jan 2021 16:46:04 +0000 (17:46 +0100)]
Post-release version bump (again)

5 years agoTag release 40.alpha.1.1
Florian Müllner [Mon, 18 Jan 2021 16:33:05 +0000 (17:33 +0100)]
Tag release 40.alpha.1.1

Like the mutter 40.alpha.1.1 release, we missed adjusting to a
GSettings schema move from g-s-d to gsettings-desktop-schemas,
resulting in an abort on startup with the latest released
gnome-settings-daemon.

5 years agoextensionsService: Fix setting prefs dialog parent
Florian Müllner [Sat, 16 Jan 2021 00:43:53 +0000 (01:43 +0100)]
extensionsService: Fix setting prefs dialog parent

Between the GTK4 port and the latest GTK4 version, calling realize()
on a newly created window to force its surface to be created stopped
working.

So instead, wait for the window to get realized regularly to set its
parent.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1574>

5 years agoUpdate Friulian translation
Fabio Tomat [Sun, 17 Jan 2021 13:39:09 +0000 (13:39 +0000)]
Update Friulian translation

5 years agoUpdated Czech translation
Marek Černocký [Sat, 16 Jan 2021 09:47:57 +0000 (10:47 +0100)]
Updated Czech translation

5 years agost/settings: Adjust to moved GSettings schema
Florian Müllner [Fri, 15 Jan 2021 16:42:20 +0000 (17:42 +0100)]
st/settings: Adjust to moved GSettings schema

Mouse settings moved from gnome-settings-daemon to
gsettings-desktop-schemas, and we missed adjusting
the shell side.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1573>

5 years agoUpdated Czech translation
Marek Černocký [Fri, 15 Jan 2021 11:48:50 +0000 (12:48 +0100)]
Updated Czech translation

5 years agoUpdate Serbian translation
Марко Костић [Fri, 15 Jan 2021 01:21:52 +0000 (01:21 +0000)]
Update Serbian translation

5 years agoweather: Pass providers after application-id and contact-info
Georges Basile Stavracas Neto [Thu, 14 Jan 2021 19:47:52 +0000 (16:47 -0300)]
weather: Pass providers after application-id and contact-info

It now requires both application-id and contact-info to properly
set the enabled providers.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1571>

5 years agoPost-release version bump
Florian Müllner [Thu, 14 Jan 2021 17:33:47 +0000 (18:33 +0100)]
Post-release version bump

5 years agoTag version 40.alpha.1
Florian Müllner [Thu, 14 Jan 2021 16:04:01 +0000 (17:04 +0100)]
Tag version 40.alpha.1

Update NEWS.

5 years agost/scroll-view-fade: Don't assume fade area at (0,0)
Florian Müllner [Thu, 14 Jan 2021 15:58:20 +0000 (16:58 +0100)]
st/scroll-view-fade: Don't assume fade area at (0,0)

The shader code currently only accounts for padding for the
bottom and right fades, but not for top and left.

As a result, we only fade the right edge when swiping through app
picker pages, whoops.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1569>

5 years agoci: Bump mutter image
Florian Müllner [Thu, 14 Jan 2021 16:10:38 +0000 (17:10 +0100)]
ci: Bump mutter image

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1570>

5 years agoPort extensions app and portal to GTK4
Florian Müllner [Wed, 15 Apr 2020 18:27:15 +0000 (20:27 +0200)]
Port extensions app and portal to GTK4

With the previous preparations in place, it is time to take the plunge.

As both the app and the portal use the same small library for handling
external windows, port everything at once to avoid the hassle of building
and installing two versions of the library.

With the portal using GTK4 now, all extensions must port their preference
widgets as well.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1495>

5 years agodbusServices/extensions: Remove event box
Florian Müllner [Wed, 15 Apr 2020 18:27:15 +0000 (20:27 +0200)]
dbusServices/extensions: Remove event box

In GTK4, all widgets are reactive, and therefore GtkEventBox has
been removed. In order to make the upcoming GTK4 port a bit cleaner,
remove the expander's event box now.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1495>

5 years agodbusServices/extensions: Stop stacking frames
Florian Müllner [Fri, 13 Nov 2020 01:36:08 +0000 (02:36 +0100)]
dbusServices/extensions: Stop stacking frames

We currently use separate frames for the details expander and the
expanded details. That layout works as long as frames are boxy (as
in the default GTK3 style), but breaks down with rounded corners
(as in the default GTK4 style).

In order to work with either style, adapt the layout to use a single
surrounding frame and appropriate borders as separator.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1495>

5 years agodbusServices/extensions: Stop using GtkToolbar
Florian Müllner [Wed, 15 Apr 2020 18:27:15 +0000 (20:27 +0200)]
dbusServices/extensions: Stop using GtkToolbar

Toolbars have been removed from GTK4, so just use a regular GtkBox
for the error details bottom bar.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1495>

5 years agodbusServices/extensions: Stop using GtkContainer API
Florian Müllner [Wed, 15 Apr 2020 18:27:15 +0000 (20:27 +0200)]
dbusServices/extensions: Stop using GtkContainer API

The interface has been removed in GTK4, so use widget-specific API
for adding children where possible.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1495>

5 years agodbusServices/extensions: Stop using :margin shortcut
Florian Müllner [Wed, 15 Apr 2020 18:27:15 +0000 (20:27 +0200)]
dbusServices/extensions: Stop using :margin shortcut

The property has been removed in GTK4, so prepare for a port by
setting the four individual margin properties instead.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1495>

5 years agodbusServices/extensions: Use consistent style for property names
Florian Müllner [Wed, 15 Apr 2020 18:27:15 +0000 (20:27 +0200)]
dbusServices/extensions: Use consistent style for property names

GtkBuilder understands both dashes and underscores in property names,
and we currently use a mix of both. The actual properties use dashes,
so settle on that.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1495>

5 years agodbusServices/extensions: Set title on window instead of headerbar
Florian Müllner [Wed, 15 Apr 2020 18:27:15 +0000 (20:27 +0200)]
dbusServices/extensions: Set title on window instead of headerbar

GTK4 will remove the GtkHeaderBar:title property, so stop using it
and set the window's title property instead, as that's what headbars
use in both GTK3 and GTK4 unless explicitly overridden.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1495>

5 years agodbusServices/extensions: Minor cleanup
Florian Müllner [Fri, 13 Nov 2020 04:06:19 +0000 (05:06 +0100)]
dbusServices/extensions: Minor cleanup

There's little point in setting properties to their default value,
so stop doing that.

(GtkFrame:shadow-type actually defaults to "edged-in" rather than "in",
but all types other than "none" are treated the same nowadays)

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1495>

5 years agoextensions-app: Explicitly dispose window when removed
Florian Müllner [Wed, 18 Nov 2020 01:16:26 +0000 (02:16 +0100)]
extensions-app: Explicitly dispose window when removed

Unlike in previous GTK version (or Clutter), destroy() no longer
breaks reference cycles but just releases the reference held by
GTK itself.

So any reference we hold - either the explicit property or any signal
handlers that bind the window as `this` - prevents the window from
being disposed when closed, and the application won't quit.

Work around this by explicitly running dispose() on the window when
it is removed from the application.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1495>

5 years agoextensions-app: Stop using :margin shortcut
Florian Müllner [Wed, 15 Apr 2020 18:27:15 +0000 (20:27 +0200)]
extensions-app: Stop using :margin shortcut

The property has been removed in GTK4, so prepare for a port by
setting the four individual margin properties instead.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1495>

5 years agoextensions-app: Don't use deprecated margin-left/right properties
Florian Müllner [Wed, 15 Apr 2020 18:27:15 +0000 (20:27 +0200)]
extensions-app: Don't use deprecated margin-left/right properties

Use the text-direction-aware start/end variants instead.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1495>

5 years agoextensions-app: Use consistent style for property names
Florian Müllner [Wed, 15 Apr 2020 18:27:15 +0000 (20:27 +0200)]
extensions-app: Use consistent style for property names

GtkBuilder understands both dashes and underscores in property names,
and we currently use a mix of both. The actual properties use dashes,
so settle on that.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1495>

5 years agoextensions-app: Set title on window instead of headerbar
Florian Müllner [Wed, 15 Apr 2020 18:27:15 +0000 (20:27 +0200)]
extensions-app: Set title on window instead of headerbar

GTK4 will remove the GtkHeaderBar:title property, so stop using it
and set the window's title property instead, as that's what headbars
use in both GTK3 and GTK4 unless explicitly overridden.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1495>

5 years agoextensions-app: Remove stray angle brackets
Florian Müllner [Fri, 13 Nov 2020 03:47:29 +0000 (04:47 +0100)]
extensions-app: Remove stray angle brackets

Not sure how those sneaked in. GtkBuilder apparently ignores them,
but that's no reason for keeping them.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1495>

5 years agoshew: Use Xlib to set transient hint
Florian Müllner [Wed, 15 Apr 2020 18:27:15 +0000 (20:27 +0200)]
shew: Use Xlib to set transient hint

The GDK API for setting the hint has been removed in GDK4, so prepare
for a port by using the underlying Xlib API directly.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1495>

5 years agostatus/volume: Allow changing input volume by scrolling
Razze [Wed, 13 Jan 2021 21:56:04 +0000 (22:56 +0100)]
status/volume: Allow changing input volume by scrolling

Previously scrolling on the volume or input indicator would always
change the volume. This change lets you change the input volume if
you scroll over the input indicator.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3273

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1566>

5 years agopanel: Make the panel fully transparent while in the overview
Jonas Dreßler [Thu, 6 Aug 2020 18:58:44 +0000 (20:58 +0200)]
panel: Make the panel fully transparent while in the overview

The overview is using a heavily darkened background image nowadays.
Since the contrast provided by this is always good enough, this makes it
possible to always have a fully transparent panel while showing the
overview.

So change the theme to always make the panel fully transparent while the
overview is shown. The duration of the animation for that is 250ms
because that's the duration of the show and hide animation of the
overview.

Also add special handling for the high-contrast theme, where we always
make the panel opaque.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1397>

5 years agooverview: Increase SHADE_ANIMATION_TIME a bit
Jonas Dreßler [Thu, 6 Aug 2020 18:50:09 +0000 (20:50 +0200)]
overview: Increase SHADE_ANIMATION_TIME a bit

The SHADE_ANIMATION_TIME variable sets the duration of the animation of
the background shading that is done when showing the overview. As
explained in the code-comment, that value must be smaller than the
animation time of the overview.

Now since we're going to start animating the background color of the
panel when showing the overview and we're going to use the overviews
animation time for that, we want to make sure the shading of the
background image and the animation of the panel are kept "in sync",
otherwise the transitions would look bad.

So slightly increase the value of SHADE_ANIMATION_TIME to 240 (the
overviews animation time is 250) to make sure those happen in the same
timeframe.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1397>

5 years agopanel: Animate opacity changes of the panel corner
Jonas Dreßler [Mon, 11 Feb 2019 22:05:31 +0000 (23:05 +0100)]
panel: Animate opacity changes of the panel corner

This is a requirement for fading the transparent panel in and out
smoothly.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1397>

5 years agopanel: Indicate focus using a pill-shaped background
Jonas Dreßler [Tue, 4 Aug 2020 11:47:59 +0000 (13:47 +0200)]
panel: Indicate focus using a pill-shaped background

The current way of indicating focus of elements in the panel does not
work very well with a fully-transparent panel, a line at the bottom of
the panel doesn't make too much sense if there is no real panel, but
only the text and icons.

To make the indicators look better in this case, switch to a pill-shaped
background color to indicate the focus of items in the panel.

For this to look good, there has to be a small black border above and
below the background, this also requires increasing the height of the
panel (from 1.86em to 2.2em) for visual purposes.

Also, since we now no longer need to color the lower bottom of the
panel, we can remove the custom drawing code for the border of the
panels corner, so do that.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1397>

5 years agotheme/panel: Slightly increase horizontal padding on activities button
Jonas Dreßler [Tue, 4 Aug 2020 09:47:18 +0000 (11:47 +0200)]
theme/panel: Slightly increase horizontal padding on activities button

The activities button doesn't have an icon, which makes its horizontal
padding appear a bit smaller than the padding of most other items in the
panel.

We're going to indicate hover and focus of items in the panel using a
pill-shaped background color, which means the padding of those items
will get more visible. So give the activities button a special treatment
and slightly increase its padding to make sure the new indicator will
look good.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1397>

5 years agoworkspace: Don't unfreeze layout during overview animation
Ivan Molodetskikh [Sun, 27 Dec 2020 17:39:22 +0000 (20:39 +0300)]
workspace: Don't unfreeze layout during overview animation

During overview closing animation the allocation expands more or less
every frame. Unfreezing the layout then leads to windows snapping to
their new position if e.g. a window was closed which doesn't look nice.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3216

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1550>

5 years agoUpdate Slovenian translation
Matej Urbančič [Wed, 13 Jan 2021 21:22:35 +0000 (21:22 +0000)]
Update Slovenian translation

5 years agologinDialog: Make notListedButton accessible
Mike Gerow [Wed, 13 Jan 2021 20:29:35 +0000 (12:29 -0800)]
loginDialog: Make notListedButton accessible

Without this a screen reader just calls the notListedButton a
"push button" instead of also including the "Not listed?" text.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1567>

5 years agoweather: Provide application-id and contact-info
Florian Müllner [Tue, 12 Jan 2021 16:31:15 +0000 (17:31 +0100)]
weather: Provide application-id and contact-info

Those are now required in order to use any online providers.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3577

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1565>

5 years agoweather: Adjust to renamed provider
Florian Müllner [Tue, 12 Jan 2021 16:30:16 +0000 (17:30 +0100)]
weather: Adjust to renamed provider

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3577

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1565>

5 years agoRevert "WeatherClient: Set enabled providers after setting a valid location"
Florian Müllner [Tue, 12 Jan 2021 17:33:43 +0000 (18:33 +0100)]
Revert "WeatherClient: Set enabled providers after setting a valid location"

libgweather changed to not do any implicit network traffic in property setters,
so this is again safe to pass to the constructor.

This reverts commit 73b7d9ace463fd29a0bd7f315f1d87068c033062.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3577

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1565>

5 years agoUpdate Romanian translation
Daniel Șerbănescu [Wed, 13 Jan 2021 16:17:43 +0000 (16:17 +0000)]
Update Romanian translation

5 years agoUpdate Norwegian Bokmål translation
Kjartan Maraas [Wed, 13 Jan 2021 14:28:22 +0000 (14:28 +0000)]
Update Norwegian Bokmål translation

(cherry picked from commit 5d2a28ee9a5ab69a0166ba34129194d3cb48d5a0)

5 years agoUpdate Indonesian translation
Kukuh Syafaat [Wed, 13 Jan 2021 13:25:33 +0000 (13:25 +0000)]
Update Indonesian translation

5 years agoUpdate Galician translation
Fran Dieguez [Tue, 12 Jan 2021 00:12:37 +0000 (00:12 +0000)]
Update Galician translation

5 years agoworkspacesView: Update scroll position but not workspace on allocate
Jonas Ådahl [Fri, 18 Dec 2020 15:21:58 +0000 (16:21 +0100)]
workspacesView: Update scroll position but not workspace on allocate

Not updating the scroll position on allocate caused a glitch, where a
window on a workspace that is not the first one would would be
transparent for one frame when showing the overview.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3507
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1545>

5 years agoci: Add some more commit message rules
Florian Müllner [Tue, 15 Dec 2020 17:02:51 +0000 (18:02 +0100)]
ci: Add some more commit message rules

Mutter added some additional rules, for instance to enforce proper
capitalization style in commit messages. That's a good idea, and
now that adding rules is easy, let's adapt them to gnome-shell.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1544>

5 years agoci: Replace custom commit-log script with ci-fairy
Florian Müllner [Tue, 15 Dec 2020 16:57:12 +0000 (17:57 +0100)]
ci: Replace custom commit-log script with ci-fairy

ci-fairy now supports checking commit messages for required/disallowed
patterns. Use that to replace our custom commit-log script.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1544>

5 years agoUpdate Catalan translation
Jordi Mas [Sun, 10 Jan 2021 21:54:57 +0000 (22:54 +0100)]
Update Catalan translation

5 years agoswipeTracker: Switch to 3-finger gestures
Georges Basile Stavracas Neto [Thu, 7 Jan 2021 19:12:20 +0000 (16:12 -0300)]
swipeTracker: Switch to 3-finger gestures

As per design feedback, it's time to switch to 3-finger gestures.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3528

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1562>

5 years agoswipeTracker: Use AFTER trigger edge for TouchSwipeGesture
Georges Basile Stavracas Neto [Thu, 7 Jan 2021 19:00:52 +0000 (16:00 -0300)]
swipeTracker: Use AFTER trigger edge for TouchSwipeGesture

Otherwise, we can get stray 'begin' signals from the touch gesture.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1562>

5 years agoscreenShield: Tie `LockedHint` to locked state
Florian Müllner [Thu, 7 Jan 2021 21:33:47 +0000 (22:33 +0100)]
screenShield: Tie `LockedHint` to locked state

Currently the hint reflects the `active` state, which effectively
corresponds to the screen blank. That's a bit surprising considering
the name, plus the `active` state is already exposed by the ScreenSaver
D-Bus interface for anyone interested.

It seems reasonable that the `LockedHint` property reflects the lock
state, so change the handling to do exactly that.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/351

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1561>

5 years agoappDisplay: Disable built-in mouse scrolling
Florian Müllner [Fri, 12 Jun 2020 22:08:50 +0000 (00:08 +0200)]
appDisplay: Disable built-in mouse scrolling

We want to either handle a scroll event ourselves, or delegate it
to the swipe tracker. What we never want is StScrollView's default
handler that doesn't have any knowledge of pages, so disable it.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1560>

5 years agoworkspacesView: Make sure to destroy non-existing workspaces
Georges Basile Stavracas Neto [Tue, 29 Sep 2020 16:38:40 +0000 (13:38 -0300)]
workspacesView: Make sure to destroy non-existing workspaces

Even if they're in the end of the list. So far we've managed to not be affected
by this bug because until GNOME 3.38, workspaces didn't have a background, and
there was no way to navigate to these leftover workspaces, but with the proposed
overview changes for GNOME 40 it'll be very much visible.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1560>

5 years agoworkspacesView/workspacesDisplay: Ignore emulated events
Georges Basile Stavracas Neto [Wed, 6 Jan 2021 19:38:44 +0000 (16:38 -0300)]
workspacesView/workspacesDisplay: Ignore emulated events

When handling all scroll directions, it is imperative to ignore emulated
events. Otherwise we may get the wrong scroll direction, e.g. when natural
scrolling is enabled.

Ignore pointer emulated events in WorkspaceDisplay._onScroll().

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1560>

5 years agost/private: Don't scale the framebuffer, only the blur pixels
Daniel van Vugt [Thu, 7 Jan 2021 07:09:55 +0000 (15:09 +0800)]
st/private: Don't scale the framebuffer, only the blur pixels

Just as we did before e59069c012.

Callers already ensure the framebuffer is scaled so by scaling a second
time in `_st_create_shadow_pipeline` we actually got resource_scale² which
was visibly incorrect.

Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3505,
       https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3560

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1543>

5 years agost/texture-cache: Move icon theme lookup out of the hot path
Ivan Molodetskikh [Tue, 5 Jan 2021 13:45:55 +0000 (16:45 +0300)]
st/texture-cache: Move icon theme lookup out of the hot path

It was showing up on profile traces over at
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1547#note_996417
After this change it no longer does.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1558>

5 years agost/texture-cache: Make key g_autofree
Ivan Molodetskikh [Tue, 5 Jan 2021 13:40:15 +0000 (16:40 +0300)]
st/texture-cache: Make key g_autofree

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1558>

5 years agoUpdate Galician translation
Fran Dieguez [Mon, 4 Jan 2021 22:50:29 +0000 (22:50 +0000)]
Update Galician translation

5 years agotheme: Adjust app grid spacing
Georges Basile Stavracas Neto [Thu, 26 Nov 2020 20:01:07 +0000 (17:01 -0300)]
theme: Adjust app grid spacing

As per design feedback.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1554>

5 years agotheme: Reduce spacing between pagination dots
Georges Basile Stavracas Neto [Wed, 24 Jun 2020 22:33:35 +0000 (19:33 -0300)]
theme: Reduce spacing between pagination dots

Now folder dialogs and the app grid have the same styling
for the pagination dots.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1554>

5 years agoappDisplay: Cleanup BaseAppView
Georges Basile Stavracas Neto [Tue, 29 Dec 2020 22:18:14 +0000 (19:18 -0300)]
appDisplay: Cleanup BaseAppView

All subclasses of BaseAppView now are horizontal, thus we
don't need to deal with the vertical case anymore.

Remove the corresponding parameter from the BaseAppView
constructor, and move the StBoxLayout that both AppDisplay
and FolderView have in common into the base class.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1554>

5 years agoappDisplay: Make the app grid horizontal
Georges Basile Stavracas Neto [Thu, 28 May 2020 02:29:16 +0000 (23:29 -0300)]
appDisplay: Make the app grid horizontal

Horizontal pagination is more natural than vertical, but for
historical reasons we ended up with a vertically paginated
app grid.

Make the app grid horizontal.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1554>

5 years agocalendar-server: Remove unused functions
Sebastian Keller [Wed, 30 Dec 2020 10:01:44 +0000 (11:01 +0100)]
calendar-server: Remove unused functions

These have been unused since tasks support was dropped when the calendar
integration was moved out of process in e9e30138. GCC did not complain
about this, because the functions were inlined.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1557>

5 years agotheme: Pre-generate stylesheets as well
Florian Müllner [Mon, 28 Dec 2020 23:01:03 +0000 (00:01 +0100)]
theme: Pre-generate stylesheets as well

Since commit 9ef9a5ff8a, man pages are generated at dist time to reduce
build dependencies when building from a released tarball.

Do the same for the stylesheets to also remove the sassc dependency.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1555>

5 years agobuild: Pre-generate man pages at dist time
Florian Müllner [Tue, 15 Dec 2020 18:23:14 +0000 (19:23 +0100)]
build: Pre-generate man pages at dist time

The man pages don't change very often, but draw in both docbook and
asciidoc. The latter is particularly problematic, as some distros
still ship only a python2 version of the tool.

Address this by generating the man pages at dist time, and including
the result in the tarball.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1553>

5 years agoman: Update options
Florian Müllner [Sun, 27 Dec 2020 22:53:10 +0000 (23:53 +0100)]
man: Update options

The man page hasn't been updated in years, so the list of options ended
up being quite outdated. Most notably it's missing all wayland-related
options.

Remove obsolete options and add all the missing ones so that the list
is up to date again.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1553>

5 years agoman: Use asciidoc for main man page as well
Florian Müllner [Sun, 27 Dec 2020 22:46:57 +0000 (23:46 +0100)]
man: Use asciidoc for main man page as well

We already use asciidoc for the gnome-extensions man page, while
the main man page is generated from docbook XML. The former is a
much friendlier source format, so use it for both man pages.

Hopefully the plain text format encourages updates, to prevent the
page from getting as badly out of sync again as it is currently.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1553>

5 years agoscreenshot: Grab screenshot during paint on X11 for area type too
LuK1337 [Sat, 26 Dec 2020 10:57:24 +0000 (11:57 +0100)]
screenshot: Grab screenshot during paint on X11 for area type too

Turns out that shell_screenshot_screenshot_area was affected
by the same issue that shell_screenshot_screenshot used to have.
Adapting code changes from commit id c09be8b0:
"screenshot: Grab screenshot during paint on X11" fixes it.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1549>

5 years agoworkspacesView: Fix copy-paste error
Ivan Molodetskikh [Sun, 27 Dec 2020 19:33:34 +0000 (19:33 +0000)]
workspacesView: Fix copy-paste error

Calling both window-drag handlers on drag begin messes up our tracking,
and prevents the swipe tracker from being disabled during drag operations.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1551>

5 years agoUpdate German translation
Philipp Kiemle [Sun, 27 Dec 2020 11:52:23 +0000 (11:52 +0000)]
Update German translation

5 years agoChange upcoming version (again)
Florian Müllner [Fri, 25 Dec 2020 22:23:04 +0000 (23:23 +0100)]
Change upcoming version (again)

The extension website doesn't handle the chosen scheme correctly,
so use 40.alpha.1 instead.

5 years agonetworkAgent: Use VPN specific method to add VPN secrets
Sebastian Keller [Mon, 14 Dec 2020 15:27:45 +0000 (16:27 +0100)]
networkAgent: Use VPN specific method to add VPN secrets

Use the method introduced in the previous commit to add VPN secrets
instead of adding them as regular secrets/passwords. This ensures
correct serialization of these secrets.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2105

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1535>